package com.example.myredisinaction;

import org.junit.Test;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class NamesGenerator {
    @Test
    public void generate() {

        Random random=new Random();
        System.out.println((char)(random.nextInt(26) + 97));
        System.out.println((random.nextInt(7) + 3));

        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < 5000; i++) {
            int i1 = random.nextInt(7) + 3;
            builder.append("\"");
            for (int j = 0; j < i1; j++) {
                builder.append((char)(random.nextInt(26) + 97));
            }
            builder.append("\",");
        }
        System.out.println(builder.toString());
    }
}
